//
//  WmcMediaTakePhotoDayModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/6/11.
//

import Foundation
import YPNetwork

struct WmcMediaTakePhotoDayModel: YPNetworkJsonProtocol {
    /// 拍摄照片日期
    var date: String = ""
    
    /// 当前日期拍摄照片数量
    var count: Int = 0
    
    var year: String = ""
    
    var month: String = ""
    
    var day: String = ""
    
    mutating func mapping(mapper: HelpingMapper) {
        mapper <<< self.year <-- "y"
        mapper <<< self.month <-- "m"
        mapper <<< self.day <-- "d"
        mapper <<< self.count <-- "resourceNum"
        mapper <<< self.date <-- "endDate"
    }
}
